import {User} from "./User";
import {Group} from "./Group";

export interface HeaderProp {
    user: User,
    currentGroup: Group;
    onGroupSelect(group: Group): void;
    onGroupCreate(group: Group): void;
    onHomeSelect(group: Group):void;
}

export interface HeaderState {
    groupDialogVisible: boolean;
    groupForm: { name: string };
}